package com.example.jh352160.surfingtv.network.item;

import java.util.List;

/**
 * Created by jh352160 on 2016/8/15
 */

public class AllCategoryItem {

    /**
     * code : 200
     * message : OK
     * data : {"offset":0,"limit":16,"total":3,"sortField":"lastUpdate","sortOrder":"DESC","items":[{"programId":17225,"title":"挑战者联盟","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/7d0a9ddf-1afb-46ac-a8d8-b9b51faff64f/","tvId":219,"body":"挑战者联盟，挑战一切不可能"},{"programId":16815,"title":"姐姐好饿","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160726/0d341b73-18c9-4858-aa23-5c0dd3872b52/","tvId":0,"body":"养眼八卦的美食节目"},{"programId":15538,"title":"中国新歌声","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/d7026f9b-f685-4924-bb5f-54ebf123704c/","tvId":219,"body":"《中国新歌声》于2016年7月15日起每周五晚21:10在浙江卫视首播，网络由优酷网和腾讯视频联合独播。  节目歌曲在酷狗同步上线。 7月15日，由浙江卫视联合星空传媒旗下灿星制作打造的大型励志专业音乐评论节目《中国新歌声》将进行全球首播。该节目将采用全新的原创模式，同时引进最热的VR直播技术进行现场直播和录制，将由《中国新歌声》唯一官方指定VR制作合作伙微鲸VR进行360度全景拍摄，用虚拟现实的黑科技给观众带来前所未有的沉浸式娱乐观感。"}]}
     */

    private String code;
    private String message;
    /**
     * offset : 0
     * limit : 16
     * total : 3
     * sortField : lastUpdate
     * sortOrder : DESC
     * items : [{"programId":17225,"title":"挑战者联盟","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/7d0a9ddf-1afb-46ac-a8d8-b9b51faff64f/","tvId":219,"body":"挑战者联盟，挑战一切不可能"},{"programId":16815,"title":"姐姐好饿","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160726/0d341b73-18c9-4858-aa23-5c0dd3872b52/","tvId":0,"body":"养眼八卦的美食节目"},{"programId":15538,"title":"中国新歌声","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/d7026f9b-f685-4924-bb5f-54ebf123704c/","tvId":219,"body":"《中国新歌声》于2016年7月15日起每周五晚21:10在浙江卫视首播，网络由优酷网和腾讯视频联合独播。  节目歌曲在酷狗同步上线。 7月15日，由浙江卫视联合星空传媒旗下灿星制作打造的大型励志专业音乐评论节目《中国新歌声》将进行全球首播。该节目将采用全新的原创模式，同时引进最热的VR直播技术进行现场直播和录制，将由《中国新歌声》唯一官方指定VR制作合作伙微鲸VR进行360度全景拍摄，用虚拟现实的黑科技给观众带来前所未有的沉浸式娱乐观感。"}]
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int offset;
        private int limit;
        private int total;
        private String sortField;
        private String sortOrder;
        /**
         * programId : 17225
         * title : 挑战者联盟
         * imageUrl : http://app4tv.sudaotech.com/platform/image/1/20160727/7d0a9ddf-1afb-46ac-a8d8-b9b51faff64f/
         * tvId : 219
         * body : 挑战者联盟，挑战一切不可能
         */

        private List<ItemsBean> items;

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getSortField() {
            return sortField;
        }

        public void setSortField(String sortField) {
            this.sortField = sortField;
        }

        public String getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(String sortOrder) {
            this.sortOrder = sortOrder;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            private int programId;
            private String title;
            private String imageUrl;
            private int tvId;
            private String body;

            public int getProgramId() {
                return programId;
            }

            public void setProgramId(int programId) {
                this.programId = programId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public int getTvId() {
                return tvId;
            }

            public void setTvId(int tvId) {
                this.tvId = tvId;
            }

            public String getBody() {
                return body;
            }

            public void setBody(String body) {
                this.body = body;
            }
        }
    }
}
